-
Notifications
You must be signed in to change notification settings - Fork 47
Skip compilation when skip scoverage to speed up build #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @justinplus, thanks for your PR!
could you please add a simple integration test similar to those in it folder?
just something that will fail without your changes and pass with them
Thank you!
|
|
||
| Properties projectProperties = project.getProperties(); | ||
|
|
||
| // for maven-compiler-plugin (compile), scala-maven-plugin (ompile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be compile instead of ompile, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I would correct it
|
Hi @jozic, is there any guideline to add a new integration test? |
|
@justinplus |
|
Hey @justinplus, are you still interested in this PR? |
|
Hey @justinplus |
|
@jozic Sorry for the delay, I would continue on this PR. |
|
Hey @justinplus |
Currently, when set
skipastruein the configuration section of scoverage plugin, onlytestCompileandtestare skipped for plugins likemaven-compiler-pluginandscalatest-maven-plugin.This PR set
maven.main.skipas true in project property to skip compilation of main as well to speed up build.